package com.linzp.bishe.model;

import com.linzp.bishe.entity.Paper;
import com.linzp.bishe.entity.Participants;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @ClassName PaperModeal
 * @Description 描述
 * @Author LinZePeng
 * @Date 2022/2/12 13:34
 * @Version 1.0
 */
@Data
public class PaperModel {
	private Integer id;

	private String paperName;

	private String publicationName;

	private LocalDateTime publicationTime;

	private String isnn;

	private String cn;

	private String issueNumber;

	private String volumeNumber;

	private String pageRange;

	private String paperType;

	private String journalCategory;

	private Boolean teachingReformPapers;

	private Boolean highReference;

	private String scannedPaper;

	private String collection;

	private String inputPeople;

	private String status;

	private Integer userId;

	private String communicationAuthor;

	private String communicationUnit;

	private List<Participants> participants;

	public Paper getPaper() {
		return new Paper(id,paperName, publicationName,publicationTime,
				isnn,cn,issueNumber, volumeNumber,
				pageRange,paperType,journalCategory,
				teachingReformPapers, highReference,
				scannedPaper,collection,inputPeople,status,userId,communicationAuthor,communicationUnit);
	}
}
